package com.heima.model.common.pojos.user;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

@Data
@TableName("ap_user")//指定表名
public class ApUser {
    @TableId(type = IdType.AUTO)//ID自增(不指定默认雪花算法)
    private Integer id;
    private String salt;
    private String name;
    private String password;
    private String phone;
    private String image;
    private Short sex;
    @TableField("is_certification")
    private Short isCertification;
    @TableField("is_identity_authentication")
    private Short isIdentityAuthentication;
    private Short status;
    private Short flag;
    @TableField("created_time")
    private Date createdTime;
}
